Skip to content

feat: fabric session protocol with firmware transfer support#40

Draft
cpunt wants to merge 6 commits into
fabric-protocolfrom
fabric-update
Draft

feat: fabric session protocol with firmware transfer support#40
cpunt wants to merge 6 commits into
fabric-protocolfrom
fabric-update

Conversation

@cpunt

@cpunt cpunt commented Apr 13, 2026

Copy link
Copy Markdown

Summary

  • Adds the MCU updater runtime: retained state/self/* facts, prepare/commit RPCs, staged descriptor handling, and updater/main transfer staging.
  • Routes Fabric update calls through the documented cmd/self/updater/{prepare,commit} and xfer_* flow, with legacy HAL/config routes removed from the update surface.
  • Streams incoming firmware data to the A/B update path on TinyGo and keeps host builds/test fakes in memory.

Why

This branch makes MCU updates work over the Fabric contract from docs/updating.md without adding extra wire routes beyond the Lua-side contract.

Testing

  • go test ./...

@cpunt cpunt changed the base branch from main to fabric-protocol April 13, 2026 11:21
@cpunt cpunt marked this pull request as draft April 13, 2026 11:23
@cpunt cpunt changed the base branch from fabric-protocol to main April 28, 2026 20:21
@cpunt cpunt changed the base branch from main to fabric-protocol April 28, 2026 20:21
@cpunt cpunt force-pushed the fabric-update branch 2 times, most recently from 491e732 to d2ec15b Compare May 19, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant